package com.hmjk.health;

import com.hmjk.health.background.MqttService;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ServiceCheckReceiver extends BroadcastReceiver{

	@Override
	public void onReceive(Context context, Intent intent) {
		String action = intent.getAction();
		Log.d("CheckReceiver",action);
		Intent si = new Intent(MqttService.START_MQTT_ACTION);
		context.startService(si);
	}

}
